Custom Field Service
Dieser Service dient dem Speichern und Lesen von kundenspezifischen Feldern und deren Inhalt.
LoadCustomFields
Diese Methode lädt die kundenspezifischen Felder und den Inhalt für einen übergebenen Stammdatensatz.
void LoadCustomFields(
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
out List<CustomFieldContentDto> customFieldContent,
out List<CustomFieldDto> customFields);
Needed Permission | customFields@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
sourceData | Defines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary) | |
sourceDataId | Unique id of the source data | |
customFieldContent | Out | Content of the defined custom fields |
customFields | Out | All custom fields that are defined |
ReportCustomFields
Diese Methode lädt die kundenspezifischen Felder und den Inhalt für einen übergebenen Stammdatensatz, mit dem Ziel diese Felder für das Reporting zu verwenden.
void ReportCustomFields(
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
out List<CustomFieldContentDto> customFieldContent,
out List<CustomFieldDto> customFields);
Needed Permission | customFields@report | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
sourceData | Defines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary) | |
sourceDataId | Unique id of the source data | |
customFieldContent | Out | Content of the defined custom fields |
customFields | Out | All custom fields that are defined |
SaveCustomFields
Diese Methode wird zum Speichern von kundenspezifischen Feldern verwendet. Mit dieser Methode können jedoch keine neuen kundenspezifischen Felder angelegt, sondern nur befüllt werden.
void SaveCustomFields(
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
Guid sourceDataId,
List<CustomFieldContentDto> customFieldContent);
Needed Permission | customFields@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
sourceData | Defines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary) | |
sourceDataId | Unique id of the source data | |
customFieldContent | Out | Content of the defined custom fields |
LoadCustomFieldDefinitions
Diese Methode lädt die eigentlichen kundenspezifischen Felder zur Bearbeitung.
List<CustomFieldDto> LoadCustomFieldDefinitions(
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData);
Needed Permission | customFields@manage | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
sourceData | Defines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary) | |
Return value | Out | All custom fields that are defined |
SaveCustomFieldDefinitions
Diese Methode speichert die kundenspezifischen Felder ab. Damit können neue Felder erzeugt und bestehende Felddefinitionen angepasst werden.
void SaveCustomFieldDefinitions(
out TpFault fault,
TpAuthentication authentication,
SourceData sourceData,
List<CustomFieldDto> customFields);
Needed Permission | customFields@manage | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
sourceData | Defines the source data (Employee, Project, Task, Customer, ActiveTimeEntry, TimeEntry, Team, Department, Branch, MonthlySummary) | |
customFields | All custom fields that are defined |